

#ifndef __D3D_H
#define __D3D_H



struct sVertex
{
	float x,y,z;
	float rhw;
	D3DCOLOR color;
	float u,v;
};

const DWORD D3DFVF_TLVERTEX = D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1;
bool D3DInit(HINSTANCE,int,int,bool,bool,IDirect3DDevice9**,WNDPROC,LPCSTR,HWND&);


//extern xRes,yRes;
#endif

